package com.itheima.mall.api.ums;

import com.itheima.mall.pojo.ums.UmsRole;
import com.itheima.mall.vo.R;

import java.util.List;

public interface UmsRoleServiceApi {
    UmsRole getUserRole(Long roleId);

    R UmsRoleCreate(UmsRole umsRole);

    R UmsRoleDelete(Long[] ids);

    R UmsRoleList(String keyword, Integer pageNum, Integer pageSize);

    R UmsRoleListAll();

    R UmsRoleUpdate(Long id, UmsRole umsRole);

    R UmsRoleUpdateStatus(Long id, Integer status);
}
